]> dgit.raspbian.org Git - gnome-shell.git/commit
NotificationDaemon: fix icons for notifications without an app
authorGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 12 Oct 2013 16:50:49 +0000 (18:50 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Sat, 12 Oct 2013 23:23:18 +0000 (01:23 +0200)
commit619389ed201632d2d8a757f2068c99e33a50fb35
tree7648ac40679e2c1900fba0a62e807baa5e2e90f3
parentad043e009ea37e5a0210b389173bed574942d971
NotificationDaemon: fix icons for notifications without an app

NotificationDaemon doesn't pass a gicon to the Notification constructor,
because it calls .update() immediately after, so messageTray.js
calls into Source.createIcon(), which returns null and crashes.
Instead, shortcut the Notification constructor by skipping
.update() completely.

https://bugzilla.gnome.org/show_bug.cgi?id=709998
js/ui/messageTray.js